import { IViewCtx } from '../../common';
import { ILoadingHelper } from '../../modules';
import { IStore } from '../../modules/common';

/**
 * 部件仓库数据接口
 *
 * @export
 * @interface ICtrlStore
 */
export interface ICtrlStore extends IStore {
	/**
	 * 加载助手
	 *
	 * @type {ILoadingHelper}
	 * @memberof ICtrlStore
	 */
	loadingHelper: ILoadingHelper;

	/**
	 * viewCtx
	 *
	 * @type {IViewCtx}
	 * @memberof ICtrlStore
	 */
	viewCtx: IViewCtx;

	/**
	 * 关闭视图
	 *
	 * @type {Function}
	 * @memberof ICtrlStore
	 */
	closeView: Function;
}
